package com.jy.rhin.infra.cda.service;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.jy.rhin.infra.cda.dao.GaoXueYSFDao;
import com.jy.rhin.infra.cda.gxy.GaoXueYSFJCVo;
import com.jy.rhin.infra.cda.gxy.GaoXueYSFVo;
import com.jy.rhin.infra.cda.gxy.GaoXueYSFYYVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
@DS("health")
public class GaoXueYSFService {

    @Resource
    private GaoXueYSFDao gaoXueYSFDao;

    public GaoXueYSFVo get(String gaoXueYSFJLID, String yeWuJGDM) {
        return gaoXueYSFDao.get(gaoXueYSFJLID, yeWuJGDM);
    }

    public List<GaoXueYSFYYVo> getYongYao(String gaoXueYSFJLID, String yeWuJGDM) {
        return gaoXueYSFDao.getYongYao(gaoXueYSFJLID, yeWuJGDM);
    }

    public List<GaoXueYSFJCVo> getJianCha(String gaoXueYSFJLID, String yeWuJGDM) {
        return gaoXueYSFDao.getJianCha(gaoXueYSFJLID, yeWuJGDM);
    }

}
